package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.DriverRegistrationInfo;
import com.njtoyo.taxi.admin.rest.presenter.business.driver.DriverAuditPagePresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.DriverRegistrationInfoExportWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.DriverAuditQueryWrapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 司机注册信息表 Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-12-17
 */
@Repository
@DS(Const.PRIMARY_DS)
public interface DriverRegistrationInfoMapper extends BaseMapper<DriverRegistrationInfo> {
    //司机自主审核列表
    Page<DriverAuditPagePresenter> selectDriverRegistrationInfo(DriverAuditQueryWrapper wrapper);

    List<DriverAuditPagePresenter> selectDriverRegistrationInfoList(DriverRegistrationInfoExportWrapper wrapper);

}
